package com.entity;

public class Comment  {
    private int conid;
    private int uid;
    private int mid;
    private String comment;
    private String comtime;

    public Comment() {
    }

    public Comment(int conid, int uid, int mid, String comment, String comtime) {
        this.conid = conid;
        this.uid = uid;
        this.mid = mid;
        this.comment = comment;
        this.comtime = comtime;
    }

    public int getConid() {
        return conid;
    }

    public void setConid(int conid) {
        this.conid = conid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getComtime() {
        return comtime;
    }

    public void setComtime(String comtime) {
        this.comtime = comtime;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "conld=" + conid +
                ", uid=" + uid +
                ", mid=" + mid +
                ", comment='" + comment + '\'' +
                ", comtime='" + comtime + '\'' +
                '}';
    }
}
